package com.bupt.fmmall.dao;

import com.bupt.fmmall.entity.ProductType;

import java.util.List;

public interface ProductTypeDao {

    //添加商品种类
    int insert_ProductType(ProductType type);
    //返回所有商品种类
    List<ProductType> select_ProductTypes();
    //根据商品id查询商品种类
    ProductType query_ProductType_by_itemTypeId(int itemTypeId_param);
    //根据商品id删除商品种类
    boolean delete_ProductType_by_itemTypeId(int itemTypeId_param);
    //根据商品id更新商品种类
    boolean update_ProductType_by_itemTypeId(ProductType ProductType);

}
